<%@ page language="java" pageEncoding="UTF-8"%>
<script type='text/javascript' src='dwr/interface/CollegeService.js'></script>
<script type='text/javascript' src='jsp/Admin/js/Department.js'></script>
<div class="pageContent" >
	
	<form method="post" action="Admin/DepartmentAction!addDepartment" class="pageForm" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<div class="pageFormContent" layoutH="58">
			<div class="unit">
				<label>部门名称：</label>
				<input type="text" name="dep.name" id="collegename"  class="required" onkeyup="checkCollegeName()"/><span style="color: red;margin-left: 10px"></span>
			</div>
			<div class="unit">
				<label>所属院系：</label>
				<input type="hidden" name="dep.college.id" value="${dep.college.id}"/>
				<input type="text" class="required"  name="dep.college.name" value="" suggestFields="id,name" suggestUrl="Admin/CollegeAction!getAllCollege" lookupGroup="dep.college" />
			</div>
			<div class="unit">
				<label>负责人：</label>
				<input type="text" name="dep.contactman" class="required"/>
			</div>
			<div class="unit">
				<label>联系电话：</label>
				<input type="text" name="dep.phone" class="phone" alt="请输入您的电话"/>
			</div>
			<div class="unit">
				<label>办公地址：</label>
				<input type="text" name="dep.address"  class="required"/>
			</div>
			<div class="unit">
				<label>用户名：</label>
				<input type="text" name="dep.username"  class="required"/>
			</div>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
	
</div>

